﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nuzzle.Protocol.Messages.Connection
{
    public class HelloConnectMessage : NetworkMessage
    {
        public HelloConnectMessage(byte connectionType, string key)
            : base(NetworkMessageID.HelloConnectMessage)
        {
            base.WriterBuffer.writeByte(connectionType);
            base.WriterBuffer.writeUTF(key);
        }
    }
}
